package bpmn.structure;


import java.util.ArrayList;

public class Task extends ProcessElem
{
    {
        type = BPMNElemType.Task;
    }

    public Task(String id)
    {
        super(id);
    }

    public void addRef(String ref, boolean isIncoming)
    {
        if (isIncoming)
            incomingRefs.add(ref);
        else
            outgoingRefs.add(ref);
    }

//    @Override
//    public BPMNElement getParseElement()
//    {
//        BPMNElement e = new BPMNElement(BPMNType.Activity);
//        e.setId(id).setName(name);
//        return e;
//    }
}
